const path = ['供应商管理','质检商品信息', '送检列表'];
const configArr = [
	{
        color: "brown",
        label: "全部送检数据",
        value: "type1",
        count: 300
    },
    {
        color: "green",
        label: "待送检",
        value: "type2",
        count: 300
    },
]
//
const filterOption = {
  items: [
    {
      label: "关键字",
      type: "input",
      data: undefined,
      placeholder: "采购单号/条码/结算单号/定制编码",
      value: undefined,
      key: "keyword"
    },
    {
      label: "送检状态",
      type: "dropdown",
      data: [
         {
          label: "待送检",
          value: 10
        },
        {
          label: "已送检",
          value: 20
        }
      ],
      placeholder: "请选择",
      value: undefined,
      key: "status"
    },
    
    {
      label: "送检地址",
      type: "dropdown",
      data: [
        {
          label: "到厂质检",
          value: 1
        },
        {
          label: "DR供应链",
          value: 2
        }
      ],
      placeholder: "请选择",
      value: undefined,
      key: "qcAddress"
    },
    {
      label: "是否打印条码",
      type: "dropdown",
      data: [
				{
					label: "是",
					value: 1
				},
				{
					label: "否",
					value: 2
				},	
      ],
      placeholder: "请选择",
      value: undefined,
      key: "isPrintBarCode"
    },
  ],
  btnGroup: [{
      label: "查询",
      type: "search"
    },
    {
      label: "清除",
      type: "clear"
    }
  ]
};
//分页数据
const paginationObject = {
  currentPage: 1,
  pageSize: 1,
  pageTotal: 1,
  total:1,
  num1:1,
  num2:1
}
const tableHeaderData = [
	{
		prop:'poNo',
		label:'采购单号',
		width:''
  },
  {
		prop:'barCode',
		label:'条码',
		width:''
	},
	{
		prop:'modelNo',
		label:'款号',
		width:''
	},
	{
		prop:'customCode',
		label:'定制编号',
		width:''
	},
	{
		prop:'cateGory',
		label:'品类',
		width:''
	},
	{
		prop:'description',
		label:'描述',
		width:'160'
	},
	{
		prop:'lettering',
		label:'刻字',
		width:''
	},
	{
		prop:'statementNumber',
		label:'结算单号',
		width:''
  },
  {
		prop:'productGoldWeight',
		label:'产品金重',
		width:''
  },
  {
		prop:'factoryAccessoriesHeavy',
		label:'厂配件重',
		width:''
  },
  {
		prop:'netGoldWeight',
		label:'净金重',
		width:''
  },
  {
		prop:'secondaryStoneTotalWeight',
		label:'副石总重',
		width:''
  },
  {
		prop:'secondaryStoneTotalNo',
		label:'副石总数',
		width:''
  },
  {
		prop:'importCount',
		label:'导入次数',
		width:''
  },
  {
		prop:'printCount',
		label:'打印次数',
		width:''
  },
  {
		prop:'qcStatus',
		label:'送检状态',
		width:''
  },
  {
		prop:'qcAddress',
		label:'质检地址',
		width:''
	},
]
const tableData = []
//
let Model = {
	data() {
		return {
			Model: {
				path,
				configArr,
				filterOption,
				TableSelectData:[],
				tableData,
				tableHeaderData,
				paginationObject,
        editDialogObsolete:false,
        barcodeDetailPop:true,
        selectedList:[],
        qcAddress:0,
        importFileDialog:false,
        upFileForm:'',
        fileupName:'',
        openImportType:1 //1 导入商品属性 2 导入裸石
			}
		}
	}
}
export default Model;
